/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.newgistics;

import java.io.Serializable;

/**
 * 
 * @author Henry(fba02)
 * @version [版本号, 2019年7月1日]
 * @see https://shipping.pitneybowes.com/reference/resource-objects.html#object-rates
 * @since [产品/模块版本]
 */
@SuppressWarnings("serial")
public class Rate implements Serializable {
    private String carrier = "NEWGISTICS";// Required. Carrier name. Valid values are:
    // USPS - U.S. Postal Service
    // NEWGISTICS - Newgistics. Create Shipment request only.
    // PBPRESORT - PB Presort. Create Shipment request only.
    // PBI - Cross-Border
    // UPS - United Parcel Service
    private String serviceId = "PRCLSEL";    
    private String parcelType = "PKG";
    
    public String getCarrier() {
        return carrier;
    }
    
    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }
    
    public String getServiceId() {
        return serviceId;
    }
    
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }
    
    public String getParcelType() {
        return parcelType;
    }
    
    public void setParcelType(String parcelType) {
        this.parcelType = parcelType;
    }
    
    @Override
    public String toString() {
        return "Rate [carrier=" + carrier + ", serviceId=" + serviceId + ", parcelType=" + parcelType + "]";
    }
}
